package com.prs.crm.dao.document.impl;

import java.util.List;

import org.hibernate.Criteria;

import com.prs.crm.dao.document.DraftFormworkTypeDao;
import com.prs.crm.dao.impl.BaseDaoImpl;
import com.prs.crm.domain.document.DraftFormworkType;

public class DraftFormworkTypeDaoImpl extends BaseDaoImpl<DraftFormworkType> implements DraftFormworkTypeDao{

	@SuppressWarnings("unchecked")
	@Override
	public List<DraftFormworkType> getAllDraftFormworkType() {
		Criteria criteria=this.getSession().createCriteria(DraftFormworkType.class);
		return criteria.list();
	}

}
